package com.study.s07.builder;

public class HouseDicretor {
	
	//优化资源
//	private HouseBuilder builder;
//	
//	public HouseDicretor(HouseBuilder builder) {
//		this.builder = builder;
//	}
	
//	public void makeHouse() {
	public void makeHouse(HouseBuilder builder) {
		
		builder.makeFloor();
		builder.makeHousetop();
		builder.makeWall();
	}
}
